﻿using System;
using System.Collections.ObjectModel;
using System.Data;
using Entities;

namespace DataAccess
{
    interface IDepartmentDataAccess
    {
        int Insert(Department department);
        int Update(Department department);
        IDataReader GetAll(Guid directorateId,bool include);
        int ChangeStatus(Guid departmentId,bool isactive);
        IDataReader GetById(Guid departmentId);
        IDataReader GetDifferentName(Guid departmentId,string name);
    }
}
